import { http } from "../httpConfig";
function loginApi(supervisorForm) {
   return  http.post('/supervisor/getSupervisorByIdByPass',supervisorForm)
}
function aqiFeedbackApi(params) {
   return http.get("aqiFeedback/listAqiFeedbackByTelId",params)
}
function getSupervisorById(params) {
    return http.get("supervisor/getSupervisorById", params)
}
function saveSupervisor(supervisorForm) {
   return http.post("supervisor/saveSupervisor", supervisorForm)
}
function saveAqiFeedback(params) {
    return http.post("aqiFeedback/saveAqiFeedback",params)
}
function listGridCityByProvinceIdApi(params) {
    return http.get('/gridCity/listGridCityByProvinceId', params)
}
function listGridProvinceAll() {
    return http.get("gridProvince/listGridProvinceAll")
}
function listAqiAll() {
    return http.get("aqi/listAqiAll")
}
function getCaptchaApi(params) {
    return http.get('/logon/captcha',params)
}
function checkCaptchaApi(params) {
    return http.get('/logon/cheekCaptcha',params)
}
export{
    loginApi,
    aqiFeedbackApi,
    getSupervisorById,
    saveSupervisor,
    saveAqiFeedback,
    listGridCityByProvinceIdApi,
    listGridProvinceAll,
    listAqiAll,
    getCaptchaApi,
    checkCaptchaApi
}